package com.europe.business.europebusiness.ui.activity;

import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.TextView;

import com.europe.business.europebusiness.R;
import com.europe.business.europebusiness.ui.activity.base.ActionBarActivity;

public class HelpActivity extends ActionBarActivity {


    Toolbar toolbar;

    private TextView title;
    private TextView reg;

    @Override
    protected int setMainContent() {
        return R.layout.activity_help;
    }


    @Override
    protected void initToolbar() {
        super.initToolbar();
        toolbar = findViewById(R.id.toolbar);
        title = findViewById(R.id.title);
        reg = findViewById(R.id.reg);
        setSupportActionBar(toolbar);

        toolbar.setTitle("帮助中心");
        reg.setVisibility(View.GONE);

        reg.setTextColor(getResources().getColor(R.color.login_underline_red));
        toolbar.setNavigationIcon(R.drawable.actionbar_back);
        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        reg.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                showToastLong("提交");
            }
        });
    }
}
